home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / WinXP - Poczatek konca / PE Builder 3.1.10a / pebuilder3110a.exe / {app} / plugin / deepburner / deepburner.cmd < prev    next >
OS/2 REXX Batch file  |  2005-01-27  |  799b  |  29 lines

  1. @echo off
  2. setlocal
  3. echo DEEPBURNER: Starting...
  4. if not exist "%~dp0deepburner.exe" (
  5.     echo DEEPBURNER: File "%~dp0deepburner.exe" not found...
  6.     goto _err)
  7. if "%temp%" == "" (
  8.     echo DEEPBURNER: No temp variable set. Try adding a ramdrive...
  9.     goto _err)
  10. if exist "%temp%\deepburner\deepburner.exe" goto _run
  11. echo DEEPBURNER: Copying "%~dp0*.*" to "%temp%\deepburner\"
  12. xcopy /y /s "%~dp0*.*" "%temp%\deepburner\"
  13. if errorlevel 1 (
  14.     echo DEEPBURNER: Copy failed...
  15.     goto _err)
  16. :_run
  17. if not exist "%temp%\deepburner\deepburner.exe" (
  18.     echo DEEPBURNER: File "%temp%\deepburner\deepburner.exe" not found...
  19.     goto _err)
  20. start "DEEPBURNER" "%temp%\deepburner\deepburner.exe"
  21. goto _end
  22. :_err
  23. echo.
  24. echo DEEPBURNER: There was an error, script aborted...
  25. echo.
  26. pause.
  27. :_end
  28. endlocal
  29.